package com.example.userservice.dao;

import com.example.userservice.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zhouyp
 * @program example-parent
 * @description
 * @create 2020-07-27
 */
public interface UserDao extends JpaRepository<User, Long> {

	Integer countByEmail(String email);

	Integer countByEmailAndPassword(String email, String password);
}
